const defaultWidth = 100
export const tableHeaders = [
  {
    name: '菜单名称',
    key: 'permissionName',
    wid: 180,
    align: 'left'
  },
  {
    name: '展示序号',
    key: 'displayOrder',
    wid: defaultWidth
  },
  {
    name: '图标',
    key: 'permissionLogo',
    wid: defaultWidth,
    slotName: 'permissionLogo'
  },
  {
    name: '备注',
    key: 'remark',
    wid: defaultWidth
  },
  {
    name: '类型',
    key: 'permissionType',
    wid: defaultWidth,
    slotName: 'permissionType'
  },
  {
    name: '数据权限限制',
    key: 'permissionDataLimit',
    wid: 120,
    slotName: 'permissionDataLimit'
  },
  {
    name: '创建人',
    key: 'createBy',
    wid: defaultWidth
  },
  {
    name: '创建时间',
    key: 'createTime',
    wid: 170
  },
  {
    name: '修改人',
    key: 'updateBy',
    wid: defaultWidth
  },
  {
    name: '修改时间',
    key: 'updateTime',
    wid: 170
  },
  {
    name: '操作',
    wid: 240,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const searchItem = [
  {
    name: '菜单名称',
    key: 'name'
  }
]
